package com.woniuxy.main.pojo;

import java.io.Serializable;
import java.util.List;

/**
 * Copyright (C), 2019-9012, sun sss info. Co., Ltd.
 * ClassName: OrderInfo
 * Description: 实体类 用于接收新增 订单数据信息
 *
 * @author Su
 * @version 1.0
 * @date 2019/8/9 0:31
 **/
public class OrderInfo implements Serializable {

    private Order order;
    private List<Room> rooms;

    public Order getOrder() {
        return order;
    }

    public void setOrder(Order order) {
        this.order = order;
    }

    public List<Room> getRooms() {
        return rooms;
    }

    public void setRooms(List<Room> rooms) {
        rooms = rooms;
    }

    @Override
    public String toString() {
        return "OrderInfo{" +
                "order=" + order +
                ", Rooms=" + rooms +
                '}';
    }
}
